package com.analytical.www.util

/**
 * @author Secret
 * @since 2023/8/10
 */
object UtilFastClickAbort {

    private var preClickTime: Long = 0L

    fun isFastClick(): Boolean {
        if (System.currentTimeMillis() - preClickTime < 500){
            return true
        }
        preClickTime = System.currentTimeMillis()
        return false
    }

}